package org.acghub.mtdb.core;

import java.util.concurrent.ExecutorService;

/**
 * @author zhouhe
 */
public interface ProcedureExecutor {

    <P extends AbstractProcedure> void execute(P procedure);

    <P extends AbstractProcedure> ProcedureFuture<P> submit(P procedure);

    ExecutorService wrapped();

}
